//
//  KFOrderModel.h
//  KafeeSale
//
//  Created by Liboom on 2025/6/11.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class KFOrderGoodsModel;
@interface KFOrderModel : NSObject
@property (assign, nonatomic) NSInteger serialNumber;
@property (nonatomic, assign) CGFloat amount;
@property (nonatomic, assign) NSInteger boardId;
@property (nonatomic, copy) NSString *boardName;
@property (nonatomic, copy) NSString *createTime;
@property (nonatomic, assign) NSInteger customerId;
@property (nonatomic, assign) NSInteger tid;
@property (nonatomic, strong) NSArray<KFOrderGoodsModel *> *items;
@property (nonatomic, copy) NSString *orderNo;
@property (nonatomic, assign) CGFloat payAmount;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, assign) CGFloat state;
@property (nonatomic, assign) NSInteger type;
@property(nonatomic, assign) NSInteger dinnerCount;
@property (nonatomic, copy) NSString *updateTime;
@end
@interface KFOrderGoodsModel: NSObject
@property (nonatomic, copy) NSString *createTime;
@property (nonatomic, assign) NSInteger dinnerState;
@property (nonatomic, assign) NSInteger goodsId;
@property (nonatomic, copy) NSString *goodsName;
@property (nonatomic, copy) NSString *bean;
@property (nonatomic, assign) NSInteger tid;
@property (nonatomic, assign) NSInteger num;
@property (nonatomic, assign) NSInteger orderId;
@property (nonatomic, assign) CGFloat price;
@property (nonatomic, assign) CGFloat specPrice;
@property (nonatomic, copy) NSString *updateTime;
@property (nonatomic, copy) NSString *remark;
@property (nonatomic, copy) NSString *specName;        // 规格名称
@property (nonatomic, copy) NSString *amount;          // 规格价格（字符串格式）
@property (nonatomic, strong) NSDictionary *cooks;     // 做法信息字典
@end
NS_ASSUME_NONNULL_END
